<?php

/**
 * 产品控制器
 * @author keluo<pycorvn@yeah.net>
 * @since 2015-11-29
 */
class ProductController extends SCController {
    
    public function __construct() {
        parent::__construct();
    }
    
    public function Candy($token) {
        Abyss::Instance()->Announce($token, [
            'api' => __METHOD__,
            'desc' => 'candy',
            'return' => [Abyss::TYPE_STRING, null, 'candy', 'hello world']
        ]);
        
        return 'hello world';
    }
}